/**
 * @file
 * Layout Styling (DIV Positioning)
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout is based on the Zen Columns layout method.
 *   http://drupal.org/node/201428
 *
 * Only CSS that affects the layout (positioning) of major elements should be
 * listed here.  Such as:
 *   display, position, float, clear, width, height, min-width, min-height
 *   margin, border, padding, overflow
*/
html,body{
    height: 100%;
    min-height: 100%;
    width: 100%;
    min-width: 100%;
}

/*
 * Body
*/

body {
    font-family: 'windows-1253';
}
#page-wrapper{

    min-height: 100%;
    height: 100% !important;
    /*height: 100%;
    margin: 0 auto -4em;*/
}

#page,
.region-bottom {
    /*
     * If you want to make the page a fixed width and centered in the viewport,
     * this is the standards-compliant way to do that. See also the ie6.css file
     * for the necessary IE5/IE6quirks hack to center a div.
    */
    margin-left: auto;
    margin-right: auto;
    min-height:100%;
    width: 100%
}

#page {
    font-family: 'windows-1253';
}

/*
 * Header
*/
#header {
    padding-top: 15px;
    padding-bottom: 10px;
}

#header .section {
    padding-bottom: 40px;
    position: relative;
}

.region-header {
    float: right; /* LTR */
    /*margin: 10px;*/
}

/*
 * Main (container for everything else)
*/
#main-wrapper {
    position: relative;
    height:100%;
    min-height:100%;
}
div#block-locationmap-image.block.block-locationmap{
    text-align: center;
}
div#block-locationmap-image.block.block-locationmap h2.title{
    margin-left: auto;
    margin-right: auto;
}

#main {
}

/*
 * Content
*/
#content,
.no-sidebars #content {
    float: left; /* LTR */
    width: 960px;
    margin-left: 0; /* LTR */
    margin-right: -960px; /* LTR */ /* Negative value of #content's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #content .section. */
}
.sidebar-first #content {
    width: 720px;
    margin-left: 240px; /* LTR */ /* The width of .region-sidebar-first. */
    margin-right: -960px; /* LTR */ /* Negative value of #content's width + left margin. */
}

.sidebar-second #content {
    width: 720px;
    margin-left: 0; /* LTR */
    margin-right: -720px; /* LTR */ /* Negative value of #content's width + left margin. */
}

.two-sidebars #content {
    width: 480px;
    margin-left: 240px; /* LTR */ /* The width of .region-sidebar-first */
    margin-right: -720px; /* LTR */ /* Negative value of #content's width + left margin. */
}

#content .section {
    margin-left:0;
    padding: 0;
}

/*
 * Navigation
*/
#navigation {
    float: left; /* LTR */
    width: 100%;
    margin-left: 0; /* LTR */
    margin-right: -100%; /* LTR */ /* Negative value of #navigation's width + left margin. */
    margin-top: -50px;
    padding: 0; /* DO NOT CHANGE. Add padding or margin to #navigation .section. */
    height: 40px; /* The navigation can have any arbritrary height. We picked one
                      that is the line-height plus 1em: 1.3 + 1 = 2.3
                      Set this to the same value as the margin-top below. */
}

.with-navigation #content,
.with-navigation .region-sidebar-first,
.with-navigation .region-sidebar-second {
    margin-top: 0; /* Set this to the same value as the navigation height above. */
}

#navigation .section {
}

/*
 * First sidebar
*/
.region-sidebar-first {
    float: left; /* LTR */
    width: 240px;
    margin-left: 0; /* LTR */
    margin-right: -240px; /* LTR */ /* Negative value of .region-sidebar-first's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-first .section. */
}

.region-sidebar-first .section {
    margin: 0 10px;
    padding: 0;
}

/*
 * Second sidebar
*/
.region-sidebar-second {
    float: left; /* LTR */
    width: 240px;
    margin-left: 720px; /* LTR */ /* Width of content + sidebar-first. */
    margin-right: -960px; /* LTR */ /* Negative value of .region-sidebar-second's width + left margin. */
    padding: 0; /* DO NOT CHANGE. Add padding or margin to .region-sidebar-second .section. */
}

.region-sidebar-second .section {
    margin: 0 10px;
    padding: 0;
}

/*
 * Triptych
*/
#triptych {
    padding: 10px 0;
}

.region-triptych-first,
.region-triptych-middle,
.region-triptych-last {
    float: left; /* LTR */
    width: 33.3%;
}

.region-triptych-first .section,
.region-triptych-middle .section,
.region-triptych-last .section {
    margin: 0 10px;
    padding: 0;
}

/*
 * Footer
*/
#footer-wrapper{
 height:30px;
 bottom:0;
}
#footer {
    /*padding-top: 0px;*/
    margin-left: auto;
    margin-right: auto;
}
.region-footer-firstcolumn,
.region-footer-secondcolumn,
.region-footer-thirdcolumn,
.region-footer-fourthcolumn {
    float: left; /* LTR */
    width: 25%;
}

.region-footer-firstcolumn .section,
.region-footer-secondcolumn .section,
.region-footer-thirdcolumn .section,
.region-footer-fourthcolumn .section {

    margin: 0 10px;
    padding: 0;
}

.region-footer {

}

/*
 * Page bottom
*/
.region-bottom /* See also the #page-wrapper declaration above that this div shares. */ {
}

/*
 * Prevent overflowing content
*/
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
.region-footer,
.region-bottom {

    overflow: hidden;
    word-wrap: break-word; /* A very nice CSS3 property */
}

/*
 * If a div.clearfix doesn't have any content after it and its bottom edge
 * touches the bottom of the viewport, Firefox and Safari will mistakenly
 * place several pixels worth of space between the bottom of the div and the
 * bottom of the viewport. Uncomment this CSS property to fix this.
 * Note: with some over-large content, this property might cause scrollbars
 * to appear on the #page-wrapper div.
*/
#page-wrapper {
    overflow-y: hidden;
}
